<%@ page import="com.kechen.pojo.Employee" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    Employee emp=(Employee)request.getAttribute("emp");
%>
<fieldset>
    <legend>员工修改页面</legend>
    <form  action="<%=request.getContextPath()%>/UpdateServlet"  method="post" >
        <input type="hidden" name="id" value="<%=emp.getId()%>"/>
        姓名： <input type="text" name="name" size="20" value="<%=emp.getName() %>" /><br />
        <br /> 年龄：<input type="text" name="age" size="20" value="<%=emp.getAge() %>" /><br />
        <br /> <input  class="btn" type="submit" value="提交按钮" />
    </form>
</fieldset>
</body>
</html>
